]> dgit.raspbian.org Git - gnome-shell.git/commit
magnifier: Do not modify function argument
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 19 Aug 2019 19:18:54 +0000 (21:18 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Sun, 15 Sep 2019 14:02:45 +0000 (16:02 +0200)
commit8d6820c4df413eb51d1323a52e1d2212640777f2
tree69322232ad69e9083923d5bc8faab804a06a9804
parent2546445884d7c01a35775df5b7e22de6f07a176d
magnifier: Do not modify function argument

The intention of the code is clearly to operate on a copy, but that's
not how the Object constructor works. While it doesn't matter in
practice that we modify the passed-in object parameter, it's still
a good idea to fix the code.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/731
js/ui/magnifier.js